import Mock from "mockjs"
import DatalistHome from "../api/MockData/home"
import user from "../api/MockData/user"

//定义请求拦截
Mock.mock("/api/home/getData","get",DatalistHome.getStatisticalData)

Mock.mock("/api/user/create","post",user.createUser)
Mock.mock("/api/user/edit","post",user.updateUser)
Mock.mock("/api/user/delete","post",user.deleteUser)
Mock.mock("/api/user/getTableList","get",user.getUserList)

